using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Elvex;

public class GlobalManager : MonoSingleton<GlobalManager>
{
    [SerializeField]
    private List<GameObject> m_globals = new List<GameObject>();

    private void Awake()
    {
        DontDestroyOnLoad(gameObject);
        foreach (var item in m_globals)
        {
            DontDestroyOnLoad(item);
        }
    }

    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
